var app = new Vue({
    el:"#app",
    data:{
        city:'',
        weatherList:[]
    },
    methods:{
        searchWeather:function(){
            var that = this;
            axios.get('http://wthrcdn.etouch.cn/weather_mini?city='+this.city)
            .then(function(response){
                console.log(response.date.data.forecast);
                that.weatherList = response.data.data.forecast
            })
            .catch(function(err){})
        }
    }
})